Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
The options "align_double_arrow", "align_equals" do not exist. Defined options are: "default", "operators"

In my php-cs-fixer.php I have this line:

'binary_operator_spaces' => ['align_equals' => false, 'align_double_arrow' => true],

And it is giving me an error saying:

The options "align_double_arrow", "align_equals" do not exist. Defined options are: "default", "operators". 

Could you help with using operators and default to achieve the same goal?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

According to upgrade guide you should use operators to choose needed strategy for each operator.

So in your case config will look like following:

'binary_operator_spaces' => [
    'operators' => [
        '=' => 'no_space',
        '=>' => 'align',
    ]
]

For more information check doc for binary_operator_spaces rule.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!